<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>模板列表</title>
</head>
<body>
<table>
		<tr>
			<td>ID</td>
			<td>名称</td>
			<td>描述</td>
			<td>操作</td>
		</tr>
		<c:forEach items="${list}" var="template" varStatus="vs">
			<tr>
				<td>${template.id }</td>
				<td>${template.name }</td>
				<td>${template.description }</td>
				<td>
					<a href="/zg03/template/edittemplate?id=${template.id }">编辑</a>
				</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>